import { useHistory } from 'react-router-dom';
import { withRouter } from 'react-router-dom';
import Layout from './views/Layout'
function App(props) {
  console.log(props);  // history,location, match
  // const history = useHistory()
  // console.log(history);  //{...}
  return (
    <div className="App">
      <Layout></Layout>
    </div>
  );
}

export default withRouter(App);
